package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_WanliOtherPaymentItem", catalog="Id")
public class TcwWanliOtherPaymentItem extends BaseEntity<TcwWanliOtherPaymentItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="RelativeId", nameJava="relativeId", typeDataBase="bigint")
	private Long relativeId;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Amount", nameJava="amount", typeDataBase="decimal")
	private BigDecimal amount;
	@YsField(nameDataBase="Fee", nameJava="fee", typeDataBase="decimal")
	private BigDecimal fee;
	@YsField(nameDataBase="CurrencyCode", nameJava="currencyCode", typeDataBase="varchar")
	private String currencyCode;
	@YsField(nameDataBase="Vjylx", nameJava="vjylx", typeDataBase="varchar")
	private String vjylx;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vaba", nameJava="vaba", typeDataBase="varchar")
	private String vaba;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="SwiftCode", nameJava="swiftCode", typeDataBase="varchar")
	private String swiftCode;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="StatePay", nameJava="statePay", typeDataBase="tinyint")
	private Integer statePay;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwWanliOtherPaymentItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwWanliOtherPaymentItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public Long getRelativeId() {
		return relativeId;
	}
	public TcwWanliOtherPaymentItem setRelativeId(Long relativeId) {
		this.relativeId = relativeId;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TcwWanliOtherPaymentItem setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public TcwWanliOtherPaymentItem setAmount(BigDecimal amount) {
		this.amount = amount;
		return this;
	}
	public BigDecimal getFee() {
		return fee;
	}
	public TcwWanliOtherPaymentItem setFee(BigDecimal fee) {
		this.fee = fee;
		return this;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public TcwWanliOtherPaymentItem setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
		return this;
	}
	public String getVjylx() {
		return vjylx;
	}
	public TcwWanliOtherPaymentItem setVjylx(String vjylx) {
		this.vjylx = vjylx;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TcwWanliOtherPaymentItem setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TcwWanliOtherPaymentItem setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVaba() {
		return vaba;
	}
	public TcwWanliOtherPaymentItem setVaba(String vaba) {
		this.vaba = vaba;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TcwWanliOtherPaymentItem setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getSwiftCode() {
		return swiftCode;
	}
	public TcwWanliOtherPaymentItem setSwiftCode(String swiftCode) {
		this.swiftCode = swiftCode;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TcwWanliOtherPaymentItem setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatePay() {
		return statePay;
	}
	public TcwWanliOtherPaymentItem setStatePay(Integer statePay) {
		this.statePay = statePay;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwWanliOtherPaymentItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwWanliOtherPaymentItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwWanliOtherPaymentItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwWanliOtherPaymentItem tcwWanliOtherPaymentItem(
		String pbid,
		Long relativeId,
		String vgsbm,
		BigDecimal amount,
		BigDecimal fee,
		String currencyCode,
		String vjylx,
		String vyhzhmc,
		String vkhh,
		String vaba,
		String vyhzh,
		String swiftCode,
		String remark,
		Integer statePay,
		Integer status
			) {
		TcwWanliOtherPaymentItem entity = new TcwWanliOtherPaymentItem();
		entity.setPbid(pbid);
		entity.setRelativeId(relativeId);
		entity.setVgsbm(vgsbm);
		entity.setAmount(amount);
		entity.setFee(fee);
		entity.setCurrencyCode(currencyCode);
		entity.setVjylx(vjylx);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVkhh(vkhh);
		entity.setVaba(vaba);
		entity.setVyhzh(vyhzh);
		entity.setSwiftCode(swiftCode);
		entity.setRemark(remark);
		entity.setStatePay(statePay);
		entity.setStatus(status);
		return entity;
	}
}